package com.hospital.wx.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
//import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/*
* 微信小程序配置
* */
@Data
@Configuration
//@ConfigurationProperties(prefix = "wechat")
public class WxMiniConfig {
    @Value("${wechat.app-id}")
    private String appId;

    @Value("${wechat.app-secret}")
    private String appSecret;
}
